﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace DoAnQuamLy.DataAccess
{
    class SuDungDichVuData
    {
        sqlDataProvider sdp = new sqlDataProvider();
        public DataTable layDanhSachMatHang()
        {
            SqlCommand cmd = new SqlCommand("Select TenHang,DonViTinh,SL,GiaBan from MatHang");
            sdp.Load(cmd);
            return sdp;
        }
    }
}
